package com.sr.wslr.service.elasticsearch.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ESField {
	
	String name();
	
	String type() default "string";
	
	String store() default "no";
	
	String index() default "not_analyzed";
	
	String analyzer() default "" ;
	
	String search_analyzer() default "";
}
